function New(fn) {
    let newFn = {}
    let args = Array.from(arguments).splice(1,arguments.length);
    newFn.__proto__ = fn.prototype
    fn.apply(newFn,args)
    return newFn;
}
function C(name){
    this.name = name;
}
C.prototype.sayName = function (){
    console.log('my name is ' + this.name)
}
const c = New(C,'sunqi');
c.sayName();
const xiaojiejie = ["dajiao", "teacher", 28];
